home *** CD-ROM | disk | FTP | other *** search
/ .net - The Best of 1999/2000 / netCD Special01.iso / pc / Software / Dreamweaver / dreamw.exe / data1.cab / App_Files / Configuration / Objects / Head / Refresh.js < prev   
Encoding:
JavaScript  |  1999-12-09  |  618 b   |  24 lines

  1. // Copyright 1999 Macromedia, Inc. All rights reserved.
  2.  
  3.  
  4. //---------------   GLOBAL VARIABLES   ---------------
  5.  
  6. var helpDoc = MM.HELP_objRefresh;
  7.  
  8.  
  9. //---------------     API FUNCTIONS    ---------------
  10.  
  11. function objectTag() {
  12.   var Form=document.theForm;
  13.   var Delay = Form.Seconds.value;
  14.   var Target=(Form.Target[0].checked)?Delay + ';URL=' + Form.URL.value:Delay;
  15.   return '<meta http-equiv="refresh" content="' + Target + '">'
  16. }
  17.  
  18. //---------------    LOCAL FUNCTIONS   ---------------
  19.  
  20. function browseForFile(){
  21.   var fileName=browseForFileURL();
  22.   document.theForm.URL.value=fileName;
  23. }
  24.